package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2021/11/23 16:58
 */
@RestController
public class UserController {

    @RequestMapping("login")
    public BaseRespVo login(User user) {
        return BaseRespVo.ok(user);
    }
}
